package com.dkd.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 报修管理对象 tb_report_repair
 * 
 * @author czq
 * @date 2024-11-09
 */
public class ReportRepair extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailedAddress;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 维修状态（0: 待处理, 1: 处理中, 2: 已完成） */
    @Excel(name = "维修状态", readConverterExp = "0=:,待=处理,,1=:,处=理中,,2=:,已=完成")
    private Long repairStatus;

    /** 维修分类内容ID */
    @Excel(name = "维修分类内容ID")
    private Long repairContentId;

    /** 详细内容 */
    @Excel(name = "详细内容")
    private String detailedContent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDetailedAddress(String detailedAddress) 
    {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress() 
    {
        return detailedAddress;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setRepairStatus(Long repairStatus) 
    {
        this.repairStatus = repairStatus;
    }

    public Long getRepairStatus() 
    {
        return repairStatus;
    }
    public void setRepairContentId(Long repairContentId) 
    {
        this.repairContentId = repairContentId;
    }

    public Long getRepairContentId() 
    {
        return repairContentId;
    }
    public void setDetailedContent(String detailedContent) 
    {
        this.detailedContent = detailedContent;
    }

    public String getDetailedContent() 
    {
        return detailedContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("detailedAddress", getDetailedAddress())
            .append("contactPhone", getContactPhone())
            .append("repairStatus", getRepairStatus())
            .append("repairContentId", getRepairContentId())
            .append("detailedContent", getDetailedContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
